package radio;

import http.Request;
import http.Response;

import java.io.IOException;

/**
 * Created by zzf on 2017/4/26.
 */
public abstract  class EventAdapter implements ServerListener {

    public void onError(String error) {

    }

    public void onAccept() {
        System.out.println("服务端accept");
    }

    public void onAccepted() {

    }

//    public void onRead(Request request) {
//
//    }

    public void onWrite(Response response) throws IOException {

    }

    public void onClosed(Request request) {

    }
}
